EA11y\Modules\Legacy\Components\Upgrade S

Total Complexity 30
Dependencies 4
Dependents 3
Total lines 634
Lines of code 536
Logical lines of code 92
Comment lines 60
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
maybe_add_introduction_modal()
A
33 5 179
maybe_add_confirmation_modal()
A
34 4 172
maybe_render_pointer()
A
41 5 71
has_legacy_data()
S
48 3 39
handle_ajax_upgrade()
S
57 4 16
add_deprecated_notice_to_customizer_section_description()
S
57 1 19
register_notices()
S
65 2 10
upgrade()
S
79 1 3
is_upgraded()
S
78 1 3
is_legacy_page()
S
78 1 3
get_learn_more_link()
S
68 1 7
get_switch_now_link()
S
70 1 6
__construct()
S
65 1 8